package supercafe.core;

public class OrderItem {
	
	private int itemId;
	private String itemName;
	private int quanlity;
	private int price;
	private String note;
	
	public OrderItem(int itemId, String itemName, int quanlity, int price, String note) {
		this.itemId = itemId;
		this.itemName = itemName;
		this.quanlity = quanlity;
		this.note = note;
		this.price = price;
	}
	
	public int getItemId() {
		return this.itemId;
	}
	public String getItemName() {
		return this.itemName;
	}
	public int getQuanlity() {
		return this.quanlity;
	}
	
	public int getItemPrice() {
		return this.price;
	}
	public String getNote() {
		return this.note;
	}

	public void minus() {
		// TODO Auto-generated method stub
		this.quanlity--;
	}
	
	public void plus() {
		// TODO Auto-generated method stub
		this.quanlity++;
	}
	
	public void setNote(String note) {
		// TODO Auto-generated method stub
		this.note = note;
	}
}
